<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%   
String path = request.getContextPath();   
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";   
%> 
<!DOCTYPE html>
<html lang="zh-CN">
   <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <!-- IE兼容模式 通知 IE 采用其所支持的最新的模式 -->
	<meta http-equiv="X-UA-Compatible" content="IE=Edge">
	<!-- 360,qq浏览器等多核浏览器，优先采用webkit -->
	<meta name="renderer" content="webkit">
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
	<meta http-equiv="keywords" content="xesj">
	<meta http-equiv="description" content="xesj">
    <link rel="stylesheet" href="<%=basePath %>static/css/log_reg.css" />
    <link rel="icon" type="image/x-ico" href="<%=basePath %>static/images/logo_icon.jpg"> 
	<!-- 引入 Bootstrap -->
	<link href="<%=basePath %>static/bootstrap-3.3.5-dist/css/bootstrap.min.css" rel="stylesheet">
	<script src="<%=basePath %>static/js/jquery-1.11.3.min.js"></script>
	<script src="<%=basePath %>static/js/util.js"></script>
	<script src="<%=basePath %>static/js/main.js"></script>
	<script type="text/javascript" src="<%=basePath %>static/js/maxModal/maxModal.js" ></script>
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>注册</title>
    <style>  
            /*web background*/  
            .container{  
                display:table;  
                height:100%;  
            }  
  
            .row{  
                display: table-cell;  
                vertical-align: middle;  
            }  
            /* centered columns styles */  
            .row-centered {  
                text-align:center;  
            }  
            .col-centered {  
                display:inline-block;  
                float:none;  
                text-align:left;  
                margin-right:-4px;  
            }  
        </style>  
  </head>
  
  <body class="text-center">
   <div class="container">  
	    <form  class="form-signin" action="<%=basePath %>registController/registMember.do" enctype="multipart/form-data" name="submitForm" id="submitForm" method="post" >
			  <div class="form-group">
			    <label for="exampleInputEmail1">用户名</label>
			    <input type="text" class="form-control" id="loginName"  name="loginName" placeholder="请输入用户名">
			  </div>
			  <div class="form-group">
			    <label  for="inputPassword">密码</label>
			    <input type="password" class="form-control" id="loginPassWord" name="loginPassWord" placeholder="请输入密码">
			  </div>
			   <div class="form-group">
			    <label for="exampleInputPassword1">上传个人头像</label>
			    <input type="file" class="" id="file" name="file" placeholder="">
			  </div>	  
	          <button type="submit" class="btn btn-sm btn-primary btn-block">注册</button>
		</form>
		
		
		
		<form  class="form col-md-6 " action="<%=basePath %>userController/excleInputMember.do" enctype="multipart/form-data" name="submitForm" id="submitForm" method="post" >
			   <div class="form-group">
			    <label for="exampleInputPassword1">选择</label>
			    <input type="file" class="file" id="file" name="file" placeholder="">
			  </div>	  
	          <button type="submit" class="btn btn-default">导入</button>
		</form>
   </div>
  </body>
</html>